// Magic Software, Inc.
// http://www.magic-software.com
// Copyright (c) 2000, All Rights Reserved
//
// Source code from Magic Software is supplied under the terms of a license
// agreement and may not be copied or disclosed except in accordance with the
// terms of that agreement.  The various license agreements may be found at
// the Magic Software web site.  This file is subject to the license
//
// RESTRICTED USE SOURCE CODE
// http://www.magic-software.com/License/restricted.pdf

//---------------------------------------------------------------------------
inline unsigned int MgcGeometry::GetVertexQuantity () const
{
    return m_uiVertexQuantity;
}
//---------------------------------------------------------------------------
inline MgcVector3& MgcGeometry::Vertex (unsigned int uiV)
{
    return m_akVertex[uiV];
}
//---------------------------------------------------------------------------
inline const MgcVector3& MgcGeometry::Vertex (unsigned int uiV) const
{
    return m_akVertex[uiV];
}
//---------------------------------------------------------------------------
inline MgcVector3* MgcGeometry::Vertices ()
{
    return m_akVertex;
}
//---------------------------------------------------------------------------
inline const MgcVector3* MgcGeometry::Vertices () const
{
    return m_akVertex;
}
//---------------------------------------------------------------------------
inline MgcVector3& MgcGeometry::Normal (unsigned int uiV)
{
    return m_akNormal[uiV];
}
//---------------------------------------------------------------------------
inline const MgcVector3& MgcGeometry::Normal (unsigned int uiV) const
{
    return m_akNormal[uiV];
}
//---------------------------------------------------------------------------
inline MgcVector3* MgcGeometry::Normals ()
{
    return m_akNormal;
}
//---------------------------------------------------------------------------
inline const MgcVector3* MgcGeometry::Normals () const
{
    return m_akNormal;
}
//---------------------------------------------------------------------------
inline MgcColor& MgcGeometry::Color (unsigned int uiV)
{
    return m_akColor[uiV];
}
//---------------------------------------------------------------------------
inline const MgcColor& MgcGeometry::Color (unsigned int uiV) const
{
    return m_akColor[uiV];
}
//---------------------------------------------------------------------------
inline MgcColor* MgcGeometry::Colors ()
{
    return m_akColor;
}
//---------------------------------------------------------------------------
inline const MgcColor* MgcGeometry::Colors () const
{
    return m_akColor;
}
//---------------------------------------------------------------------------
inline MgcVector2& MgcGeometry::Texture (unsigned int uiV)
{
    return m_akTexture[uiV];
}
//---------------------------------------------------------------------------
inline const MgcVector2& MgcGeometry::Texture (unsigned int uiV) const
{
    return m_akTexture[uiV];
}
//---------------------------------------------------------------------------
inline MgcVector2* MgcGeometry::Textures ()
{
    return m_akTexture;
}
//----------------------------------------------------------------------------
inline const MgcVector2* MgcGeometry::Textures () const
{
    return m_akTexture;
}
//----------------------------------------------------------------------------
inline MgcBound& MgcGeometry::ModelBound ()
{
    return m_kBound;
}
//----------------------------------------------------------------------------
inline const MgcBound& MgcGeometry::ModelBound () const
{
    return m_kBound;
}
//----------------------------------------------------------------------------
